#!/bin/bash
echo $CI_PROJECT_PATH_SLUG

mvn clean package -Dmaven.test.skip=true || exit 1
echo 'zhujihua'
jarpath=$(find . -name "cifi-mars-server*.jar") && \
mkdir -p publish && \
mv $jarpath publish/cifi-mars-server.jar && \
echo 'build successful!'
ls -l publish/cifi-mars-server.jar